import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/tabbar/Home.vue'
import Member from './views/tabbar/Member.vue'
import ShopCar from './views/tabbar/ShopCar.vue'
import Search from './views/tabbar/Search.vue'

Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', redirect: "/home" },
    { path: '/home', component: Home },
    { path: '/member', component: Member },
    { path: '/shopcar', component: ShopCar },
    { path: '/search', component: Search }
  ]
})
